<?php
class Relevo extends AppModel {

	var $name = 'Relevo';
	var $primaryKey = 'id_patrimonio_servico';
	var $validate = array(
		'id_patrimonio_servico' => array('notempty'),
		'vegetacao' => array('notempty'),
		'altura' => array('notempty'),
		'largura' => array('notempty'),
		'comprimento' => array('notempty'),
		'profundidade' => array('notempty'),
		'funcionamento' => array('notempty'),
		'potencial_turistico' => array('notempty'),
		'explorado_turismo' => array('notempty')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'PatrimonioServico' => array(
			'className' => 'PatrimonioServico',
			'foreignKey' => 'id_patrimonio_servico',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>